<%--
  Created by IntelliJ IDEA.
  User: LKSV
  Date: 2021/7/27
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false"%>
<%
    String path = request.getContextPath();  //项目名 
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<html>
<head>
    <base href="<%=basePath %>">
    <meta content="text/html;charset=UTF-8">
    <link rel="icon" href="static/favicon.ico"/>
    <title> title </title>
</head>
<body>
<h1 style="margin: auto">欢迎${student.studentName}登录  &nbsp;&nbsp; 您的ID是${student.id}</h1>
    <form name="studentClass" action="student/selectClass" method="get">
        <input type="hidden" name="id" id="id" value="${student.id}">
        <input name="selectClass" value="查询自己的课程" type="submit">
    </form><br>

    <form name="ChooseClass" action="#" method="post">
        <input type="hidden" name="choose" value="${student.id}">
        <input type="submit" value="选课" name="chooseClass">
    </form><br>

    <a href="student/findClass">课程任务(以开始却未结束的课程)</a>
</body>
</html>